package demo;
public class Cat extends Animal {
        public Cat(int age,String name) {
                super(age,name);
        }
        @Override
        public void eat(){
                System.out.println(name+age+"吃猫粮");
        }
}
